{include file="backend/_frame/_header.tpl"}

<div id="header">
	<div class="title"><h1><a href="../">{config module="backend" param="sitename"}</a></h1></div>
	{block module="backend" name="welcome" assign="name"}
	<div class="logged">{'YOU_ARE_LOGGED_AS'|translate} <strong>{$name}</strong> <a href="?action=logout">{"LOGOUT"|translate}</a></div>
</div>

<div id="menu">
	{block module="backend" name="sections"}
</div>

<div id="submenu">

	<div id="submenu1">
		{block module="backend" name="managers"}
	</div>

	<div id="submenu2">
		{if isset($manager)}{include file="backend/_manager.tpl"}{/if}
	</div>

</div>

{block module=kernel name=message file="backend/_frame/_message.tpl"}

<div id="main">
	{if $_title}<h2>{$_title|escape}</h2>{/if}
	<div class="table">
	{if isset($manager.header)}
		{assign var=header value=$manager.header}
		{capture assign=header}{$header.module}_{$header.manager}_{$header.action}{/capture}
		<h1 class="title">{$header|translate}</h1>
	{/if}

	{$contents}

	</div>

</div>

<div id="pages"></div>

<div id="footer">
    <p>© 2008 Developed by {mailto address="dVaffection@gmail.com" encode="javascript" subject="I'm not a bot: " text="dV"}</p>
</div>

{include file="backend/_frame/_footer.tpl"}
